package edu.iul.daam.rap.pages;

public class Page {
	
	private String url;
	private Areas area;
	private boolean text;
	private boolean audio;
	private boolean video;
	private boolean image;
	private int points;
	
	
	public Page(){};

	public Page (String url, Areas area, boolean text, boolean audio, boolean video, boolean image, int points){
		this.url = url;
		this.area = area;
		this.text = text;
		this.video = video;
		this.image = image;
		this.points = points;
	}


	public String getUrl() {
		return url;
	}


	public void setUrl(String url) {
		this.url = url;
	}


	public boolean isText() {
		return text;
	}


	public void setText(boolean text) {
		this.text = text;
	}


	public boolean isAudio() {
		return audio;
	}


	public void setAudio(boolean audio) {
		this.audio = audio;
	}


	public boolean isVideo() {
		return video;
	}


	public void setVideo(boolean video) {
		this.video = video;
	}


	public boolean isImage() {
		return image;
	}


	public void setImage(boolean image) {
		this.image = image;
	}
	
	public boolean getPoints() {
		return image;
	}


	public void setImage(int points) {
		this.points=points;
	}


	@Override
	public String toString() {
		return "Page : url=" + url + ", text=" + text + ", audio=" + audio
				+ ", video=" + video + ", image=" + image + ", points="
				+ points;
	}
	
	
}
